package com.itheima.stargraph;

import cn.hutool.crypto.digest.BCrypt;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * TODO
 *
 * @Author huang
 * @Date 2025/6/11 2025/6/11
 */
@SpringBootTest
public class UserLogin {
    @Test
    public void testGenPwd(){
        String pwd = BCrypt.hashpw("123456", BCrypt.gensalt());
        System.out.println(pwd);
    }
}
